<?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;

use Closure;

class Ack
{
    public function handle($request, Closure $next)
    {
        if(!session('username')){
            return redirect("login_index");
        }
        return $next($request);
    }
}
